<?php if (!defined('BASEPATH')) exit('No direct script access allowed');

class my404 extends Front_Controller {
    function __construct()
    {
        parent::__construct();
		$this->load->library('breadcrumbs');
    }

    function index() {
		$this->breadcrumbs->unshift('Trang chủ', site_url('') );
		$this->breadcrumbs->push('Lỗi', site_url('dish'));
		$breadcrumb = $this->breadcrumbs->show();
		
        $this->smarty->assign('breadcrumb', $breadcrumb);
		$this->smarty->assign('page_title', "404 Page Not Found");
		$this->smarty->assign('description', "404 Page Not Found");
        $this->smarty->display('my404');
    }
}
